package com.fan.admin.service.impl;

import com.fan.admin.dao.SystemInfoMapper;
import com.fan.admin.service.SystemInfoService;
import com.fan.commons.pojo.SystemInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author fan
 * @date 2021/2/13
 */
@Service
public class SystemInfoServiceImpl implements SystemInfoService {

	@Autowired
	private SystemInfoMapper systemInfoMapper;

	@Override
	public int insertSystemInfo(SystemInfo systemInfo) {
		return systemInfoMapper.insertSystemInfo(systemInfo);
	}

	@Override
	public List<SystemInfo> querySystemInfo(String collegeId) {
		return systemInfoMapper.querySystemInfo(collegeId);
	}
}
